package com.tomecode.tools.maven.settings.model;

/**
 * A download mirror for a given repository.
 * 
 * @author Frastia Tomas
 * 
 */
public final class Mirror {

	private String id;
	/**
	 * The server ID of the repository being mirrored, eg "central". This MUST
	 * NOT match the mirror id.
	 */
	private String mirrorOf;
	/**
	 * The URL of the mirror repository.
	 */
	private String url;
	/**
	 * The optional name that describes the mirror.
	 */
	private String name;

	public Mirror() {

	}

	public final String getId() {
		return id;
	}

	public final void setId(String id) {
		this.id = id;
	}

	public final String getMirrorOf() {
		return mirrorOf;
	}

	public final void setMirrorOf(String mirrorOf) {
		this.mirrorOf = mirrorOf;
	}

	public final String getUrl() {
		return url;
	}

	public final void setUrl(String url) {
		this.url = url;
	}

	public final void setName(String name) {
		this.name = name;
	}

	public final String getName() {
		return name;
	}

}
